<template>
    <span>
        <i v-if="type=='success'" class="el-icon-success" style="font-size:14px;color:#50d4ab;margin-right:2px;"></i>
        <i v-if="type=='error'" class="el-icon-error" style="font-size:14px;color:#f66f6a;margin-right:2px;"></i>
        <i v-if="type=='loading'" class="el-icon-loading" style="font-size:14px;color:#526ecc;margin-right:2px;"></i>
        <i v-if="type=='warning'" class="el-icon-warning" style="font-size:14px;color:#fa9841;margin-right:2px;"></i>
        <slot></slot>
    </span>
</template>

<script>
export default {
  name:'EtStatus',
  props:['type'],
}
</script>
<style scoped>

</style>